<style>

.dtable{display:table;width:auto;margin:0px auto;}
.drow{display:table-row;height:25px;line-height:25px;}
.dlcell{display:table-cell;text-align:right;width:150px;}
.drcell{display:table-cell;text-align:left;width:450px;padding-left:10px;}

</style>
<script type="text/javascript">
jQuery(function(){
	$('#lang').change(function(){
		$.get('/admin.php?mo=aboutUs&lang='+$(this).val()+'&ajax=1', function(data){
			editor.html(data);
		});
	});
});

</script>
<div id="main">
    <div class="dtable">
		<form action="admin.php?mo=action&domo=product&do=categorySave" method="post" enctype="multipart/form-data" name="form1" id="form1">
        <input type="hidden" name="id" id="id" value="{$detail['id']}" />
        <div class="drow">
            <span class="dlcell">{$SelectLangVersionText}: </span>
            <span class="drcell">
            	<select id="lang" name="lang">
                {loop $langList $k $v}
                <option value="{$k}"{if $k==$detail['lang']} selected="selected"{/if}>{$v}</option>
                {/loop}
                </select>
            </span>
        </div>
        <div class="drow">
            <span class="dlcell">{$NameText}: </span>
            <span class="drcell">
            <input type="text" name="name" id="name" value="{$detail['name']}" size="50" maxlength="60" />
            </span>
        </div>
        <div class="drow">
            <span class="dlcell"></span>
            <span class="drcell">
            <input type="submit" value="{$SubmitText}" />
            </span>
        </div>
        </form>
    </div>
</div>